<%--
  @author ioana.ruca@gmail.com, rominamilea@gmail.com
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<html>
<head>
    <title>Online Questionnaires</title>
    <link href="<c:url value="/resources/css/ui-styles.css"/>" type="text/css" rel="stylesheet"/>
    <script src="<c:url value="/resources/scripts/jquery-1.7.7.min.js"/>" type="text/javascript"></script>
    <script src="<c:url value="/resources/scripts/script.js"/>" type="text/javascript"></script>

</head>
<body>
<div id="container">
    <div id="antet">
        <p id="titlu">- ONLINE QUESTIONNAIRES -</p>
    </div>

    <div id="pagina">
        <div id="meniu_user">
            <h3>Categories</h3>
            <ul id="category_list" class="aliniere">
                <c:forEach items="${categoryList}" var="category">
                    <li><a href="#" onclick="showQuestionnaireTitles('${category.id}')">${category.name}</a>
                    </li>
                    <ul id="div_${category.id}"></ul>
                </c:forEach>
            </ul>

            <h3>Go back to home page</h3>
            <ul class="aliniere">
                <li><a href="#" onclick="gotToHomePage()">Home page</a></li>
            </ul>
        </div>

        <div id="continut">
            <div id="questionnaire_content">
                <p class="welcome"> Welcome!
                    <br>
                    <b> Online questionnaires </b>
                    is an application that offers you the posibility to fill in questionnaires from different categories
                    and see the questionnaire statistics.</p>
            </div>
        </div>
    </div>

    <div id="subsol">
        <h4>(c) Romina Milea, Adriana Oros, Ioana Rucareanu, 2012</h4>
    </div>
</div>

</body>
</html>